package com.webside.front.common.model;

import java.io.Serializable;
import java.util.Date;

import com.webside.util.PageUtil;

public class BSeries extends PageUtil implements Serializable{

	private static final long serialVersionUID = -6334493411843918667L;

	private Integer id;

    private String name;//剧集名

    private String description;//剧集描述

    private String summary;//剧集简介

    private String channel;//视频类型
    
    private String kind;//剧集类型
    
    private String kindName;//剧集名

    private String type;
    
    private String typeName;//类型名

    private String tag;//标签

    private String language;//语种

    private String year;//年份

    private String area;//地区

    private String poster;//海报（url）
   
    private String cover;//封面
    
    private String banner;//轮播

    private String director;//导演

    private String actor;//主演

    private Integer setSum;//集数，总共多少集
    
    private Integer updatedSetSum;//更新到第几集

    private Integer playCount;//播放次数

    private Integer commentCount;//评论次数

    private Integer likeCount;//点赞次数

    private Integer downloadCount;//点赞次数

    private Integer shareCount;//分享次数
    
    private Integer playTimeSum;//观看次数总计
    
    private String recommendLevel;//推荐等级
    
    private String status;//分享次数

    private Integer createUserId;//创建者userId

    private String createUserName;//创建者名字

    private Date createTime;//创建时间

    private Integer approvalUserId;//审核者userId

    private String approvalUserName;//审核者名字

    private Date approvalTime;//审核时间

    private Integer publishUserId;//发布者userId

    private String publishUserName;//发布者userId

    private Date publishTime;//发布时间

    private Integer deleteUserId;//发布时间

    private String deleteUserName;//发布时间

    private Date deleteTime;//发布时间
    
    private String videoClaritys;//清晰度
    
    private String seoTitle;//网页标题
    
    private String seoDescription;//网页描述
    
    private String seoKeywords;//网页关键词
    
    private String source;//来源
    
    private String score;//评分
    
    

    
    
	public String getBanner() {
		return banner;
	}

	public void setBanner(String banner) {
		this.banner = banner;
	}

	

	public Integer getUpdatedSetSum() {
		return updatedSetSum;
	}

	public void setUpdatedSetSum(Integer updatedSetSum) {
		this.updatedSetSum = updatedSetSum;
	}

	public Integer getPlayTimeSum() {
		return playTimeSum;
	}

	public void setPlayTimeSum(Integer playTimeSum) {
		this.playTimeSum = playTimeSum;
	}

	public String getRecommendLevel() {
		return recommendLevel;
	}

	public void setRecommendLevel(String recommendLevel) {
		this.recommendLevel = recommendLevel;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public String getSeoTitle() {
		return seoTitle;
	}

	public void setSeoTitle(String seoTitle) {
		this.seoTitle = seoTitle;
	}

	public String getSeoDescription() {
		return seoDescription;
	}

	public void setSeoDescription(String seoDescription) {
		this.seoDescription = seoDescription;
	}

	public String getSeoKeywords() {
		return seoKeywords;
	}

	public void setSeoKeywords(String seoKeywords) {
		this.seoKeywords = seoKeywords;
	}

	public String getKindName() {
		return kindName;
	}

	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getVideoClaritys() {
		return videoClaritys;
	}

	public void setVideoClaritys(String videoClaritys) {
		this.videoClaritys = videoClaritys;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel == null ? null : channel.trim();
    }

    public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language == null ? null : language.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster == null ? null : poster.trim();
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director == null ? null : director.trim();
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor == null ? null : actor.trim();
    }

    public Integer getSetSum() {
        return setSum;
    }

    public void setSetSum(Integer setSum) {
        this.setSum = setSum;
    }

    public Integer getPlayCount() {
        return playCount;
    }

    public void setPlayCount(Integer playCount) {
        this.playCount = playCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public Integer getShareCount() {
        return shareCount;
    }

    public void setShareCount(Integer shareCount) {
        this.shareCount = shareCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getApprovalUserId() {
        return approvalUserId;
    }

    public void setApprovalUserId(Integer approvalUserId) {
        this.approvalUserId = approvalUserId;
    }

    public String getApprovalUserName() {
        return approvalUserName;
    }

    public void setApprovalUserName(String approvalUserName) {
        this.approvalUserName = approvalUserName == null ? null : approvalUserName.trim();
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

    public Integer getPublishUserId() {
        return publishUserId;
    }

    public void setPublishUserId(Integer publishUserId) {
        this.publishUserId = publishUserId;
    }

    public String getPublishUserName() {
        return publishUserName;
    }

    public void setPublishUserName(String publishUserName) {
        this.publishUserName = publishUserName == null ? null : publishUserName.trim();
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getDeleteUserId() {
        return deleteUserId;
    }

    public void setDeleteUserId(Integer deleteUserId) {
        this.deleteUserId = deleteUserId;
    }

    public String getDeleteUserName() {
        return deleteUserName;
    }

    public void setDeleteUserName(String deleteUserName) {
        this.deleteUserName = deleteUserName == null ? null : deleteUserName.trim();
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getRealType(){
    	if(this.typeName!=null){
    		return this.typeName.replace(",", "/ ");
    	}
    	return this.typeName;
    }
    
    public String getRealActor(){
    	if(this.actor!= null){
    		return this.actor.replace(",", " ");
    	}
    	return this.actor;
    }
    
public String[] getSourceList(){
	String[] a=null;
	if(this.source!=null){
		a = this.source.split(",");
		return a;
	}
    	return a;
    }	public BSeries(String name, String channel, String type, String year, String area, String director,
			String actor) {
		super();
		this.id = id;
		this.name = name;
		this.channel = channel;
		this.type = type;
		this.year = year;
		this.area = area;
		this.director = director;
		this.actor = actor;
	}
    
	
    public BSeries() {
    	
	}
}